package com.huitone.gddw.dao.entity;

import java.util.Date;

import org.springframework.stereotype.Component;
@Component
public class PrgRunningStatus {
    
//	public final static String RUNNINGSTATUS_RUN = "1";
//	public final static String RUNNINGSTATUS_PAUSE = "2";
//	public final static String RUNNINGSTATUS_STOP = "3";
	
	public enum RunningStatus {
		RUNNINGSTATUS_RUN("正在运行", "1"), RUNNINGSTATUS_PAUSE("暂停", "3"), RUNNINGSTATUS_STOP("停止", "4");
		
		private String displayName;
		private String code;
		
		private RunningStatus(String displayName, String code) {
			this.displayName = displayName;
			this.code = code;
		}

		public String getDisplayName() {
			return displayName;
		}

		public String getCode() {
			return code;
		}
	}
	
	private String prgId;

    private String runningStatus;

    private Date startRunningTime;

    private String desc;

    private String status ="1";

    private Date insertTime;

    private String insertStaffId;

    private Date lastModTime;

    private String lastModStaffId;

	public String getPrgId() {
		return prgId;
	}

	public void setPrgId(String prgId) {
		this.prgId = prgId;
	}

	public String getRunningStatus() {
		return runningStatus;
	}

	public void setRunningStatus(String runningStatus) {
		this.runningStatus = runningStatus;
	}

	public Date getStartRunningTime() {
		return startRunningTime;
	}

	public void setStartRunningTime(Date startRunningTime) {
		this.startRunningTime = startRunningTime;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}

	public String getInsertStaffId() {
		return insertStaffId;
	}

	public void setInsertStaffId(String insertStaffId) {
		this.insertStaffId = insertStaffId;
	}

	public Date getLastModTime() {
		return lastModTime;
	}

	public void setLastModTime(Date lastModTime) {
		this.lastModTime = lastModTime;
	}

	public String getLastModStaffId() {
		return lastModStaffId;
	}

	public void setLastModStaffId(String lastModStaffId) {
		this.lastModStaffId = lastModStaffId;
	}
}